package com.usian.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.usian.pojo.Number;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface NumberMapper extends BaseMapper<Number> {

    Page<Number> findAll(Number number);

    void add(Number number);

    @Select("select * from `number` where name=#{name}")
    Number selectByName(String name);
}
